home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue.arc
/
TVBNAME.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-09
|
1KB
|
31 lines
/*================================================*/
/* TVBNAME.C */
/* */
/* (c) Copyright 1988 Ralf Brown */
/* All Rights Reserved */
/* May be freely copied for noncommercial use, */
/* provided that this copyright notice remains */
/* intact and any changes are indicated in the */
/* comment blocks preceding functions */
/*================================================*/
#include <string.h>
#include "tvapi.h"
/*================================================*/
/* TVmbx_name give mailbox object a global name */
/* Ralf Brown 5/6/88 */
/*================================================*/
void pascal TVmbx_name(OBJECT mbx,char *name)
{
PARMLIST2 p ;
p.num_args = 2 ;
p.arg[0] = (DWORD) (char far *) name ;
p.arg[1] = (DWORD) strlen(name) ;
TVsendmsg(SETNAME_MSG, mbx?TOS:MAILME, mbx, (PARMLIST *)&p) ;
}
/* End of TVBNAME.C */